Meta description:

When making an attack that deals physical damage while raging, you can spend 2 SP to gain 1 Rage point a.k.a. RP, up to 1 time.

  • Name:

    mRagePointsI

  • Displayed name:

    Rage points I

  • Description:

    When making an attack that deals physical damage while raging, you can spend 2 SP to gain 1 Rage point a.k.a. RP, up to 1 time.

  • Cost:

    0

  • Script:

    stat = character:createStat([[sRagePoints]]) stat.displayName.value = [[Rage points]] stat.min:_set([[0]])

  • Duration:

    -1

  • Type:

    0

  • Recurrent script:

  • Add ons:

    • Condition:

      character:has([[mRage]]) and (action:tagsContain([[slashingDamage]]) or action:tagsContain([[piercingDamage]]) or action:tagsContain([[bluntDamage]]))

    • Description:

    • Variables:

      vMaxRagePoints = 1

    • Script:

    • Action effects:

      • Use case:

        1*number(vRagePoints.value>0)

      • Name:

        Rage points

      • Description:

        The user spends {2*vRagePoints.string} SP to gain {vRagePoints.string} Rage point(s).

      • Script:

        character.sRagePoints:changeCurrent({{vRagePoints.value}})

      • Variables:

        vRagePoints = NumberVariable([[vRagePoints]], [[Rage points]], [[0]], [[vMaxRagePoints]])

  • Upgrades:

    • Name:

      mRagePointsII

    • Displayed name:

      Rage points II

    • Description:

      Increase the number of time the user can spend SP to gain RP to 2.

    • Cost:

      expCost(800,400)-200

    • Script:

      master.displayName:set([[Rage points II]]) master.description:replace([[to 1 time]],[[to 2 times]]) master.addOns[1].variables:replace([[vMaxRagePoints = 1]],[[vMaxRagePoints = 2]])

    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

    • Name:

      mRagePointsIII

    • Displayed name:

      Rage points III

    • Description:

      Increase the number of time the user can spend SP to gain RP to 3.

    • Cost:

      expCost(1200,400)-400

    • Script:

      master.displayName:set([[Rage points III]]) master.description:replace([[to 2 times]],[[to 3 times]]) master.addOns[1].variables:replace([[vMaxRagePoints = 2]],[[vMaxRagePoints = 3]])

    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons: